package com.chaos.auth.service.command;

import com.chaos.system.api.feign.RbacUserFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import jakarta.annotation.Resource;

@Component
@Slf4j
public class AdminCommandLineRunner implements CommandLineRunner {

    @Resource
    private RbacUserFeign rbacFeign;

    @Override
    public void run(String... args) throws Exception {
        log.info("[框架]初始化管理员API权限...");
        // rbacFeign.initAdminPermission();
        log.info("[框架]完成初始化管理员API权限...");
    }
}
